<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="/Public/Css/screen.css" />

</head>
<body class="container">
<div>
<h1>这是头部banner</h1>
</div>
<div class = "large">
<A HREF="__APP__/">网站首页</A>
<A HREF="__APP__/user">添加站点</A>
<A HREF="__APP__/user/edit">站点编辑</A>
<A HREF="__APP__/Web_Site">站点状态</A>


</div>
<div class ="box">

<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><form name="myFrom" method="post" action="__APP__/User/save" id="myForm">
 <table width="900" border="0" align="center">
		<tr>
				<td>名称:<input type="text" name="title" value=<?php echo ($vo["title"]); ?>></td>
				<td>网址:<input type="text" name="domain2" value=<?php echo ($vo["domain"]); ?>></td>				
				<td><input type="text" name="siteid" value=<?php echo ($vo["siteid"]); ?> class="hide"></td>				
				<td><?php if($vo["active"] == 1): ?>激活了<?php else: ?> 未激活<?php endif; ?></td>
				<td><label>激活：</label>
				          是<input type="checkbox" name="active" value="1">
				          否<input type="checkbox" name="active" value="0"><br /></td>
								
				<td><input type="submit"  value="保存"  > </td>
		</tr>
</table>
</form><?php endforeach; endif; else: echo "" ;endif; ?>




</div>

</body>
</html>